﻿/**
 * ...
 * @author Артём Григорьев
 */

package tab;
import flash.events.MouseEvent;

class CategoryClickEvent extends MouseEvent
{

	private var categoryId : UInt;
	private var categoryName : String;
	
	public inline static var CATEGORY_CLICK : String = "CATEGORY_CLICK";
	
	public function new(categoryId : UInt, categoryName : String) 
	{
		this.categoryId = categoryId;
		this.categoryName = categoryName;
		super(CATEGORY_CLICK);
	}
	
	public function getId() 
	{
		return categoryId;
	}
	
	public function getName() 
	{
		return categoryName;
	}
	
}